﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace InterfaceTest
{
    public class CTest1:ITest
    {
        int pageType;
        public int PageType
        {
            get { return pageType; }
        }

        bool recvFlag;
        public bool RecvFlag
        {
            get { return recvFlag; }
            set { recvFlag = value; }
        }

        public CTest1()
        {
            this.pageType = 1;
            this.recvFlag = false;
        }

        public void Hello()
        {
            Console.WriteLine("Hello,CTest1!");
        }

        public void say(string str)
        {
            Console.WriteLine("CTest1," + str);
        }
    }
}
